//
//  SuitProductListCell.m
//  mbstore
//
//  Created by huangyi on 14-3-17.
//  Copyright (c) 2014年 huangyi. All rights reserved.
//

#import "SuitProductListCell.h"

@implementation SuitProductListCell

-(void)setCellView:(NSDictionary*)item{
    [self.buyButton setTitleColor:[UIColor darkGrayColor] forState:UIControlStateNormal];
    [self.buyButton setTintColor:[UIColor darkGrayColor]];

    NSString *name=[NSString stringWithFormat:@"%@：%@（编号：%@）",item[@"category"],item[@"name"],item[@"item_id"]];
    self.itemName.text=name;
    NSString *price=[NSString stringWithFormat:@"¥%@",item[@"price"]];
    self.itemPrice.text=price;
}

@end
